package com.polytech.business;

import java.util.Collection;
import java.util.Set;
import java.util.Vector;

import com.polytech.beans.Brand;
import com.polytech.beans.Car;
import com.polytech.beans.Category;
import com.polytech.beans.Color;
import com.polytech.beans.Model;

public interface CarsManager{

	void create(Car value);
	Car find( String key);
	void remove(Car car);
	void update(Car car);
	

	Category findCategory( String key);
	void removeCategory(Category Category);
	void updateCategory( Category category);
	Model findModel( String key);
	void removeModel(Model model);
	void updateModel(Model model);
	
	Color findColor( String key);
	void removeColor(Color color);
	void updateColor(Color color);
	
	Brand findBrand( String key);
	void removeBrand(Brand brand);
	void updateBrand(Brand brand);
	
	Collection<Car> getCars();
	Collection<Car> getNonBookedCars();
	Collection<Car> getBookedCars();
	
	Collection<Model> getModels(); 
	Collection<Brand> getBrands();
	Collection<Category> getCategories();
	Collection<Color> getColors();
	Set<Model> getModelsOf(String string);
	void create(String plaque, String state, double km, String color,String picture, String model, String category, double price);
}
